import request from '@/utils/request'

// 获取表记录geojson信息
export function managementGeojson(query) {
  return request({
    url: '/data/resource/management/geojson',
    method: 'post',
    data: query
  })
}

// 二维码
export function getMapQr(query) {
  return request({
    url: '/data/resource/map/getQr',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}

// 查询详细信息
export function mapGetInfo(query) {
  return request({
    url: '/data/resource/map/getInfo',
    method: 'get',
    params: query
  })
}

// 查询行政区划管理列表
export function areaPage(query) {
  return request({
    url: '/system/area/list',
    method: 'get',
    params: query
  })
}
